package com.votesys.model;

import java.sql.Timestamp;

/**
 * Votecontent entity. @author MyEclipse Persistence Tools
 */

public class Votecontent implements java.io.Serializable {

	// Fields

	private Integer contentId;
	private Integer topicId;
	private String contentName;
	private String contentAbstract;
	private String contentDetail;
	private byte[] pic;
	private Integer contentCount;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public Votecontent() {
	}

	/** minimal constructor */
	public Votecontent(Integer contentId, Timestamp createTime) {
		this.contentId = contentId;
		this.createTime = createTime;
	}

	/** full constructor */
	public Votecontent(Integer contentId, Integer topicId, String contentName,
			String contentAbstract, String contentDetail, byte[] pic,
			Integer contentCount, Timestamp createTime) {
		this.contentId = contentId;
		this.topicId = topicId;
		this.contentName = contentName;
		this.contentAbstract = contentAbstract;
		this.contentDetail = contentDetail;
		this.pic = pic;
		this.contentCount = contentCount;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getContentId() {
		return this.contentId;
	}

	public void setContentId(Integer contentId) {
		this.contentId = contentId;
	}

	public Integer getTopicId() {
		return this.topicId;
	}

	public void setTopicId(Integer topicId) {
		this.topicId = topicId;
	}

	public String getContentName() {
		return this.contentName;
	}

	public void setContentName(String contentName) {
		this.contentName = contentName;
	}

	public String getContentAbstract() {
		return this.contentAbstract;
	}

	public void setContentAbstract(String contentAbstract) {
		this.contentAbstract = contentAbstract;
	}

	public String getContentDetail() {
		return this.contentDetail;
	}

	public void setContentDetail(String contentDetail) {
		this.contentDetail = contentDetail;
	}

	public byte[] getPic() {
		return pic;
	}

	public void setPic(byte[] pic) {
		this.pic = pic;
	}

	public Integer getContentCount() {
		return this.contentCount;
	}

	public void setContentCount(Integer contentCount) {
		this.contentCount = contentCount;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}